
function setHeight(){
    let screenHeight = (window.innerHeight || (window.document.documentElement.clientHeight || window.document.body.clientHeight));
    let screenWidth = (window.innerWidth || (window.document.documentElement.clientWidth || window.document.body.clientWidth));
    return {screenHeight,screenWidth};
}


function setFontSize(){
    /*设置跟字体大小*/
    var html =document.querySelector('html');
    return html.style.fontSize = document.documentElement.clientWidth/120+'px';
    
}


export default{   
    //导出
    setHeight,
    setFontSize

}